Skip to main content
POST
[FC1] Convert File

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
input_file_url
string
required

S3 or public URL of the file to convert.

output_format
string
required

Target format (e.g. txt, jpg, mp3).

output_variable_name
string
default:converted_file
required

Variable name for the result.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
input_format
string

File extension (e.g. pdf, docx, png, mp4).

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action